package com.hellobike.haxing.modules.wms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hellobike.haxing.modules.wms.dto.ExportReturnShippingDto;
import com.hellobike.haxing.modules.wms.dto.ExportShippingDto;
import com.hellobike.haxing.modules.wms.dto.ExportShippingUserInfoDto;
import com.hellobike.haxing.modules.wms.entity.ShippingHeader;
import com.hellobike.haxing.modules.wms.mapper.ShippingHeaderMapper;
import com.hellobike.haxing.modules.wms.service.IShippingHeaderService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: t_wms_shipping_header
 * @Author: haxing-boot
 * @Date:   2020-02-02
 * @Version: V1.0
 */
@Service
public class ShippingHeaderServiceImpl extends ServiceImpl<ShippingHeaderMapper, ShippingHeader> implements IShippingHeaderService {

    @Override
    public List<ExportShippingDto> exportShipping(Long id) {
        return baseMapper.exportShipping(id);
    }

    @Override
    public List<ExportReturnShippingDto> exportReturnShipping(Long id) {
        return baseMapper.exportReturnShipping(id);
    }

    @Override
    public List<ExportShippingUserInfoDto> exportShippingUserInfo(Long id) {
        return baseMapper.exportShippingUserInfo(id);
    }
}
